Skip to content

Instantly share code, notes, and snippets.

@rslahmed
Last active August 23, 2019 17:17
Show Gist options
  • Save rslahmed/5f0b6352312b8ea80e51d1da89de31f1 to your computer and use it in GitHub Desktop.
Save rslahmed/5f0b6352312b8ea80e51d1da89de31f1 to your computer and use it in GitHub Desktop.
for clone: git clone [link]
for create branch: git checkout -b [branchname]
for change branch: git checkout [branchname]
for branch check: git branch
for pull files: git pull (must be from master branch)
for push: git push (from your own branch and must pull from master before push)
for push from new branch: git push --set-upstream origin (branch Name) [for the first time]
if you want all master code: git merge master [from your branch]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment