Balu
Balu Platform Engineer | Devops | Monitoring | CICD | ODD | SQL/NoSQL | ELK | AWS | Jhipster | Microservices | Agile | Scrum

Git - Commit Files

Git - Commit Files

Status

1
git status

Git Add

1
2
3
4
5
6
7
8
9
10
11
12
13
git add .

# OR

git add --all

# OR

git add hello-world.js

# OR

git add dir/

Check status

1
git status

Commit

1
git commit -am "hello world changes"

-am : All commits with message

Push

1
2
3
4
5
git push -u origin branchName

# OR

git push # pushes the current branch to the configured upstream

comments powered by Disqus