GIT Basic Commands

 git version

git config --global user.name "Abe Lincoln"

git config --global user.email "mrabe@git.training"

git config --global --list

git clone github-https-url # paste in your GitHub HTTPS clone URL

ls

cd github-demo

ls

git status

echo "Test Git Quick Start demo" >> start.txt

ls

cat start.txt

git status

git add start.txt

git status

git commit -m "Adding start text file"

git status

git push origin master

Comments

Popular posts from this blog

Java 8 : Find the number starts with 1 from a list of integers

Optional Vs Null Check

How to prevent Singleton Class from Reflection and Serialization