text
stringlengths 0
6.49k
|
---|
touch abcd.txt |
touch abcde.txt |
touch abcdef.txt |
git status |
git add . |
git status |
git remote set-url origin |
git commit -m "First commit" |
git push -u origin master |
ubuntu@ip-172-31-19-102:~$ git clone |
Cloning into 'myproject'... |
remote: Enumerating objects: 3, done. |
remote: Counting objects: 100% (3/3), done. |
remote: Total 3 (delta 0), reused 0 (delta 0), pack-reused 0 |
Unpacking objects: 100% (3/3), done. |
ubuntu@ip-172-31-19-102:~$ cd myproject |
ubuntu@ip-172-31-19-102:~/myproject$ ls |
README.md |
ubuntu@ip-172-31-19-102:~/myproject$ git init |
Reinitialized existing Git repository in /home/ubuntu/myproject/.git/ |
ubuntu@ip-172-31-19-102:~/myproject$ touch abc.txt |
ubuntu@ip-172-31-19-102:~/myproject$ touch abcd.txt |
ubuntu@ip-172-31-19-102:~/myproject$ touch abcde.txt |
ubuntu@ip-172-31-19-102:~/myproject$ touch abcdef.txt |
ubuntu@ip-172-31-19-102:~/myproject$ git status |
On branch master |
Your branch is up to date with 'origin/master'. |
Untracked files: |
nothing added to commit but untracked files present (use "git add" to track) |
ubuntu@ip-172-31-19-102:~/myproject$ git add . |
ubuntu@ip-172-31-19-102:~/myproject$ git status |
On branch master |
Your branch is up to date with 'origin/master'. |
Changes to be committed: |
ubuntu@ip-172-31-19-102:~/myproject$ git remote set-url origin |
ubuntu@ip-172-31-19-102:~/myproject$ git commit -m "First commit" |
[master 235d187] First commit |
ubuntu@ip-172-31-19-102:~/myproject$ git push -u origin master |
Username for : manju9945290649 |
Password for ': |
remote: Invalid username or password. |
fatal: Authentication failed for ' |
ubuntu@ip-172-31-19-102:~/myproject$ git push -u origin master |
Username for : manju9945290649 |
Password for ': |
Counting objects: 3, done. |
Compressing objects: 100% (2/2), done. |
Writing objects: 100% (3/3), 292 bytes | 292.00 KiB/s, done. |
Total 3 (delta 0), reused 0 (delta 0) |
To |
Branch 'master' set up to track remote branch 'master' from 'origin'. |
ubuntu@ip-172-31-19-102:~/myproject$ |
ls |
ls |
ls -a |
git status |
git commit -m "hello" |
git remote set-url origin |
git remote add origin |
git pull |
git status |
git push -u origin master |
git pull origin master |
git push -u origin master |
git remove -v |
git remote -v |
git status |
ls |
git pull origin master |
ls |
sudo cp -r abc.txt /home/ubuntu/myjava/ |
sudo cp -r abcd.txt /home/ubuntu/myjava/ |
sudo cp -r abcde.txt /home/ubuntu/myjava/ |
sudo cp -r abcdef.txt /home/ubuntu/myjava/ |
sudo cp -r README.md /home/ubuntu/myjava/ |
ls |
git status |
git add . |
git commit -m "Second Commit" |
git push -u origin master |
git pull origin master |
sudo apt-get install git |
sudo apt-get update |
git --version |
git config --global user.name "manjunath" |
git config --global user.email "manjunathk165.kmr@gmail.com" |
mkdir mydevops |
git init |
git status |
git add . |
git add mydevops |
touch demo |
git add . |
git status |
git commit -m "demo is added" |
git diff |
clear |
git commit -a -m "demo file is modified" |
git rm -f test |
git status |