Answers for "how to set up git"

2

git setup

$ git config --global user.name "Your Name"
$ git config --global user.email "[email protected]"
$ git config --global push.default matching
$ git config --global alias.co checkout
$ git init
Posted by: Guest on June-02-2021
1

how to set up git for github

$ git config --global user.name "Your name here"
$ git config --global user.email "[email protected]"
Posted by: Guest on September-06-2020
0

git setup

echo "# your repo name" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin your-repo-link.git
git push -u origin main
Posted by: Guest on May-30-2021
0

git hub set up

mnelson:myproject mnelson$ git remote add origin https://github.com/cubeton/mynewrepository.git
mnelson:myproject mnelson$ git push -u origin master
Counting objects: 3, done.
Writing objects: 100% (3/3), 263 bytes | 0 bytes/s, done.
Total 3 (delta 0), reused 0 (delta 0)
To https://github.com/cubeton/mynewrepository.git
 * [new branch]      master -> master
Branch master set up to track remote branch master from origin.
Posted by: Guest on December-10-2020
-3

set up git with github

$ git init
Posted by: Guest on December-10-2019

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language