Git - Commit Files


Git - Commit Files

Balu
Balu Infrastructure Solution Architect | SRE | DevOps Manager | Platform Engineer | Monitoring | CICD | ODD | SQL/NoSQL | ELK | AWS | Jhipster | Microservices | Agile | Scrum
Git - Commit Files

Status

git status

Git Add

git add .

# OR

git add --all

# OR

git add hello-world.js

# OR

git add dir/

Check status

git status

Commit

git commit -am "hello world changes"

-am : All commits with message

Push

git push -u origin branchName

# OR

git push # pushes the current branch to the configured upstream

comments powered by Disqus