Created
July 7, 2019 10:24
-
-
Save Md-shefat-masum/a0727e3265cace30251df10ae9148edc to your computer and use it in GitHub Desktop.
github connection
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 config --global user.name 'Md-shefat-masum' | |
git config --global user.email 'myphoto240@gmail.com' | |
git add . (this command all all files) | |
git branch new-branch-name ( add new branch to git hub ) | |
git checkout branch-name ( changing the git branch ) | |
git commit -m 'commit message' ( commit file with a message ) | |
git merge new-mergename ( then click 'i' and write 'Added baranch-name' ) | |
git remote add origin https://github.com/Md-shefat-masum/test-git.git ( add git hub repository to file ) | |
git remote | |
git push -u origin master | |
git push -f origin master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment