Last active
November 29, 2020 12:28
-
-
Save xyzkpz/c2ecb73c754f3b555503da8ce15ab93e to your computer and use it in GitHub Desktop.
all about github and use
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
// create git | |
git init . | |
// add to staging area | |
git add . | |
// commit final changes | |
git commit -am "final commit" | |
//check current status | |
git status | |
// create branch | |
git git checkout -b give-a-name | |
// check current branch | |
git branch --show-current | |
// switch branch | |
git checkout master | |
// check all branches | |
git branch -a | |
// delete branch | |
git branch -d notes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment