我有一個堅固的樹對象,我想知道它的路徑(相對於根)是什麼,當樹寫入時它是什麼commit ID。例如: tree = repo.lookup '7892eeee70c08fae4db63aef7000dea39f883b30' #sha/oid of tree
我應該在這個樹對象上執行哪些操作,以便獲取其路徑並提交id?
應用diff或補丁文件如何將該diff作爲提交應用到我的dest分支? # @param src [Rugged::Object] - the rugged object or string to compare from
# @param dst [Rugged::Object] - the rugged object or string to compare to, defaults