Last active
October 5, 2021 08:43
-
-
Save Stefanacef/a4bc6cc5989a3dff13bc8fcd3958c304 to your computer and use it in GitHub Desktop.
Basic Git commands
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
First time: | |
git config --global user.name "Stefana" -it is important to use the same username as on github | |
git config --global user.email "stefana@...." | |
Every time: | |
git init -Create a new local repository | |
git add -A , Add one or more files to staging | |
git commit -m, -first compit | |
git status -List the files you've changed and those you still need to add or commit | |
git remote add origin <server(link from your repo)> | |
git push origin master -Push |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment