Open angerman opened 10 years ago
At the moment gitlib is focused on intra-repository operations, but not inter-repository, so it really knows nothing about pulling in general. However, in the gitlib-cmdline backend, you'll find some functions for both pushing and pulling, and determining if there are any new commits in a remote repository.
I was unable to determine how to perform a pull or fetch operation using gitlib.
Say I want to ensure the repository is up to date, prior to doing anything with it. I know I have a clean local state, but for history walking and alike I'd like to ensure the repository knows at least all the remote information of the "origin" remote.
How would one achieve such an update of the local repository with gitlib?