Updating an open-source project is very easy. This can be done just fine with the command line. In this example, I am listing the files in a repository.
4.4 Tue Jun 16 jason@Yog-Sothoth 1: $ git ls-tree -r master --name-only LICENSE README.md makefile src/iface.h src/strings.h src/sysinfo.cpp src/sysinfo.h system-info |
To actually send changes to the remote repository, use the git commit -all
command to commit your code changes.
4.4 Tue Jun 16 jason@Yog-Sothoth 1: $ git commit --all [master b6fdad2] Updated IP code. 3 files changed, 39 insertions(+), 36 deletions(-) |
Then upload all changes to the remote repository. This is very easy to do.
4.4 Tue Jun 16 jason@Yog-Sothoth 1: $ git push origin master Username for 'https://github.com': john302 Password for 'https://[email protected]': Counting objects: 6, done. Delta compression using up to 4 threads. Compressing objects: 100% (6/6), done. Writing objects: 100% (6/6), 1.08 KiB | 1.08 MiB/s, done. Total 6 (delta 4), reused 0 (delta 0) remote: Resolving deltas: 100% (4/4), completed with 4 local objects. To https://github.com/john302/sysinfo.git 6d8ddfc..b6fdad2 master -> master |
This pushes the changes to the remote repo and updates all code in the main master branch.