detiuaveiro / ua-thesis-template

📖 A thesis LaTeX template that complies with the University of Aveiro's guidelines and provides a simple CLI workflow around make and compatibility with Overleaf.
MIT License
105 stars 38 forks source link

Add branch name to `git subtree pull`. #37

Closed ruilvo closed 1 year ago

ruilvo commented 1 year ago

Fixes the error "fatal: you must provide \<repository> \<ref>":

PS PhDThesis> git subtree pull --prefix document https://github.com/detiuaveiro/ua-thesis-template.git --squash;
fatal: you must provide <repository> <ref>
PS PhDThesis> git subtree pull  --prefix document https://github.com/detiuaveiro/ua-thesis-template.git master --squash;
From https://github.com/detiuaveiro/ua-thesis-template
 * branch            master     -> FETCH_HEAD
Subtree is already at commit 53d09a9e6d484c55a7a307d7e272ff744971c53