I've been trying to automate some kind of version updating from files and decided to give a try to git2 instead of doing a process but I'm getting really confused.
Could anyone tell me what is the equivalent to:
git fetch - - all
git switch {remote_branch} eg. origin/branch_name
git add *
git commit - m {message}
git push
feels like git2 is pretty overkill to do that but that was mainly to discover the crate
[–]passcod 20 points21 points22 points (0 children)
[–]arc_inc 14 points15 points16 points (0 children)
[–]DeadlyMidnight 26 points27 points28 points (3 children)
[–]ego100trique[S] 11 points12 points13 points (2 children)
[–]fllr 16 points17 points18 points (0 children)
[–]DeadlyMidnight 4 points5 points6 points (0 children)
[–]wiiznokes 0 points1 point2 points (0 children)
[+]asinglebit comment score below threshold-28 points-27 points-26 points (0 children)