On Jan 17, 2021, at 4:35 PM, ajay saxena <ailerona...@gmail.com> wrote:

> Each time you make a change to a file, you need to stage it irrespective of 
> whether the file was present in an earlier commit and was "added" earlier. 
> The staging is done by the git command git add. A staged change needs to be 
> committed to create a commit out of it. So after you run git add, you will 
> need to run git commit to create the commit.

Or, for changes to an existing file, you can just do "git commit -a"; to quote 
the result of "git help commit":

       -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.

For a *new* file to be *added* to the repository, you either have to "git add" 
it.
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@wireshark.org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe

Reply via email to