Notifications
Clear all

Git the best!

4 Posts
2 Users
0 Reactions
1,608 Views
(@linuxtech)
Maker Revolution Inspired
Joined: 4 years ago
Posts: 17
Topic starter  

Hello There!

 

Hope all of you are safe and healthy. I am a ferocious git user. I use git for like almost everything! I also like to become more advanced in using git bash. I also use Git GUI applications like GitKraken. I was recently learning a new git tag for the "commit" command. The new tag is "-a" 

 

So basically I was trying to figure out ..... what does : 

 

 

                                    git commit -a -m "something"

 

DO?

 

I seemed pretty ambigous to me so I am asking all of you as I know that there are many git users in this forum. 

 

Thank You All! 😎 


   
Quote
(@yurkshirelad)
Member
Joined: 3 years ago
Posts: 493
 

I recommend reading the documentation:

https://man7.org/linux/man-pages/man1/git-commit.1.html

       -a, --all
           Tell the command to automatically stage files that have been
           modified and deleted, but new files you have not told Git
           about are not affected.

   
ReplyQuote
(@linuxtech)
Maker Revolution Inspired
Joined: 4 years ago
Posts: 17
Topic starter  

Hello YurkshireLad

It helped me a lot!

Thank You


   
ReplyQuote
(@linuxtech)
Maker Revolution Inspired
Joined: 4 years ago
Posts: 17
Topic starter  

Hello YurkShireLad, 

 

Thanks a lot for your replay it actually helped me a lot!

 

Thank You. 😎 


   
ReplyQuote