shauryauppal / GITCHEAT-SHEETS

GIT Cheat Sheets

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GITCHEAT-SHEETS

GIT Cheat Sheets

To Push your personal project to GITHUB.

  1. git init
  2. git remote add origin [link]
  3. git add .
  4. git commit -m "commit message"
  5. git push origin master

To contribute to someone else project use the following steps:

  1. Fork the repo.
  2. Clone the project in your local directory using git clone [link]
  3. After clone create a new branch. git branch [branch name]
  4. Checkout to new branch created using: git checkout [new branch name]
  5. Make changes in Project.
  6. Push back the changes using git push origin [newbranch name]
  7. Open Github webview and click the pull request button and you are done.

Links Referred

About

GIT Cheat Sheets