Created
February 2, 2020 16:09
-
-
Save muradddd/834bb8ee0d7b5a1a044b444d331349a7 to your computer and use it in GitHub Desktop.
Git stuff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone 'repo url' | |
cd project | |
git checkout -b {new_branch_name} # create and swiching branch | |
git checkout master # swiching branch | |
git branch # show branch list | |
git add . | |
git commit -m 'commit' | |
git push origin {new_branch_name} # to push changes to new branch | |
git checkout master # swiching branch | |
# on master branch | |
git merge idris # idrisin melumatlarini mastere birlesdirecek | |
git push # send changes to github | |
# team mate | |
git clone 'repo url' | |
cd project | |
git checkout -b 'new_branch_name' | |
# deyisiklikleri edir | |
git add . | |
git commit -m 'commit' | |
git push origin {new_branch_name} | |
git checkout master | |
# on master branch | |
git merge {new_branch_name} | |
git push |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment