You are on page 1of 7

git --version

git help
git config --help
git help config
mkdir test
cd test
git init
git status
git add demo.txt
git add demo.txt
git add smiley.txt
git add smiley
git commit -m "first commit"
git config --global user.username Gayathri224-github
git remotr add origin https://github.com/Gayathri224/gitbash.git
git remote add origin https://github.com/Gayathri224/gitbash.git
git push origin master
git config --global user.username Gayathri224
git remote add origin https://github.com/Gayathri224/gitbash.git
git remote add origin https://github.com/Gayathri224/gitbash2.git
git remote add origin https://github.com/Gayathri224/gitbash2.git
git config --global user.username Gayathri224
git remote add origin https://github.com/Gayathri224/gitbash2.git
git remote add origin https://github.com/Gayathri224/gayathri.git
git push origin master
clr scr
clear
git config --global user.username Gayathri224
git remote add origin https://github.com/Gayathri224/gayathri.git
git remote add origin https://github.com/Gayathri224/gitbash.git
git push origin master
git add smile.txt
git status
git commit -m "first"
clear
git config --global user.username Gayathri224
git remote add origin https://github.com/Gayathri224/gayathri.git
git push origin master
git status
git commit -m "second"
git commit -m "second commit"
git add smile.txt
git status
git commit -m "second"
git status
git -l
git push origin master
git install aws cli
instaweb
git instaweb
git status
git --version
git init
cd C:\code
git init
git status
git add .
git add test.txt
echo "hello" > sony.txt
git status
cd test
git status
echo "hello sony" > sony.txt
git status
git add.
git add .
git status
git commit -m "new"
git log
git congif --global --list
git config --global --list
git touch file1.txt file2.txt
touch file.txt
touch file2.txt
git status
git add -u
git status
git add -A
GIT STATUS
git status
git commit -m "added"
git log
git diff HEAD~1
cat file.txt
vim file.txt
git vim file2.txt
git vim file1.txt
vim file1.txt
git status
git add file.txt
git status
git commit -m "add"
git add file1.txt
git commit -m "new"
git status
rm file1.txt
git status
git add file1.txt
rm file1.txt
git add -u
git status
ls la
vim file3.txt
git status
mv file.txt new_file_name.txt
git status
git add -A
git status
git commit -m "reorganized"
git status
git log
vim file3.txt
git status
git checkout file3.txt
git status
cat file3.txt
vim file3.txt
rm new_file_name.txt
git status
git reset --hard
git status
git reset --soft HEAD›~1
git reset --soft HEAD›~1
GIT STATUS
git status
clear
touch temp1.txt temp2.txt
git status
git clean
git clean -n
git clean -f
git status
clear
mkdir logs
touch logs/log.txt
git status
vim .gitignore
git status
git add .gitignore
git commit -m "add"
git status
git log
git clone https://github.com/Gayathri224/gitbash.git
git log
git log --oneline | wc -l
git log --oneline --graph
git shortlog
git shortlog -sne
git show HEAD
git show HEAD~1
git show bb3ff0e
git remote
git remote -v
git clone https://github.com/Gayathri224/day-1.git
git remote
git remote -v
ls
cat .git/config
git branch
git branch -r
git tag
git remote add origin https://github.com/Gayathri224/changescript.git
git fetch
git fetch origin
git log origin master
git log origin
git log
#
git log origin/master
git merge origin/master
git add origin https://github.com/Gayathri224/changescript.git
git remote add https://github.com/Gayathri224/day-1.git
git fetch origin
git fetch
git remote add origin2 https://github.com/Gayathri224/day-1.git
git fetch origin2
git merge origin2/master
git branch -r
git pull
git pull origin2 master
git branch --set-upstream master origin2/master
git branch --set-upstream-to master origin2/master
git status
git add .
git status
git commit -m "1"
git pull
git branch
vim file3.txt
git status
git commit -m "chj"
git add .
git status
git commit -m "1"
git push
git push --set-upstream origin master
git push --set-upstream origin2 master
git push --set-upstream origin2 master
git pull
git pull https://github.com/Gayathri224/day-1.git
git status
git push
git remote rm origin
git remote -v
git tag v1.0
git tag
git tag -a v1.0_with_message
git tag
git tag -s v1.0_signed
git tag
git tag -s v1.0_signed
git tag
git tag -s v1.0_signed
git tag
git tag -v v1.0_with_message
git tag -v v1.0_signed
git push
git push --tags
git remote add origin https://github.com/Gayathri224/changescript.git
git push
git push --tags
clear
git branch feature
git checkout feature
git branch -v
echo "feature1" >> README.txt
git status
git add .
git status
git commit -m "1"
git checkout master
git branch fix1
git branch -m fix1 bug134
git branch
git branch -d bug1234
git branch -d bug134
git branch
git checkout -b feature2
echo "feature2" >> README.txt
git status
git add.
git add .
git status
git commit -m "1"
git reflog
git branch bug134 4c8250b
git branch
git show HEAD
CLEAR
echo "feature 2" >> README.txt
git status
git stash
git status
cat README.txt
git stash list
git checkout bug134
echo "another fix" >> README.txt
git status
git stash
cat README.txt
git stash
git stash list
git stash
git add .
git stash
git stash list
cat README.txt
git reset --hard HEAD
cat README.txt
git stash list
echo "more changes" >> file4.txt
git status
git add .
git stash
git status
git stash list
git stash drop
git stash list
git stash branch fet_2
git stash list
git commit -am "add"
git log
git checkout master
git merge feature2
git log
git branch -d feature2
git branch
git branch -d bug134
git merge feature
git mergetool
git merge feature
git status
git add .
git commit -m "m"
git diff --cached
git merge feature
rm README.txt
rm README.txt.orig
clear
git branch feature3 v1.0
vim file.txt
git checkout feature3
vim file.txt
git commit -am "added feature 3"
git add .
git commit -am "11"
git show feature2
git show feature3
git rebase master
git checkout master
git merge
git merge feature3
git branch -d feature3
git branch -d feature
git branch
git branch -d fet_2
git branch -D fet_2
cd C:\code\test\Demoap
cd C:\code
cd test
cd Demoapp
git clone git@github.com:Gayathri224/newrepo.git
cd newrepo
ls -ls
ls -la
git status
git status
git add .
git status
git commit -m "simple website"
git status
git push
git status
git status
git fetch
git pull
git status
notepad index.html
git status
git add .
git commit -m "updated html"
git push
git pull
git push
clear
git checkout -b "add-instal"
notepad installation.txt
cd C:\code\test\Demoapp\newrepo
cd C:\code\test\Demoapp\newrepo\
cd C:\code
cd test
cd Demoapp
cd newrepo
notepad installation.txt
git status
git add .
git commit -m "1"
git push
git push -u origin add-install
git push -u origin add-instal
clear
git status
clear
git log
git checkout main
git tag
git tag stae main
git tag stable main
git tag
git log --online --graph --deorate --all
git log --oneline --graph --deorate --all
git log --oneline --graph --decorate --all
git tag -a v0.1 -m "0.1 release" 196fdfd
git tag
git tag -a v0.2 -m "0.2 release" 5afc27a
git push --tag
git tag
git tag -d "stae"
git tag
git tag -d v0.2
git push origin :v0.2
cd C:\code
cd test
cd Demoapp
git init
git configure git@github.com:Gayathri224/newrepo.git
git clone git@github.com:Gayathri224/newrepo.git
git branch
ls -la
git checkout add-instal
git checkout add-instal
git checkout sample-branch
git list
cd newrepo
git branch
ls -la
cd ..
cd ..
cd ..
cd ..
git clone git@gist.github.com:9f367906433af64ffebc0a59b1f37cbc.git
cd 9f367906433af64ffebc0a59b1f37cbc/
notepad++ gistfile1.txt
notepad gistfile1.txt
git add .
git commit -m "1"
git push

You might also like