Adding folders with Git on StaSh gives an error
-
Hello, as the title says, when I try to add folders with git on stash, i get and error:
stash: <type 'exceptions.IOError'>: [Errno 21] Is a directory: '/private/var/mobile/Containers/Shared/AppGroup/0475C0C8-BA3A-4B54-8E92-14189F1C13C3/Pythonista3/Documents/spike/functions'
please help me with this.Thank you!
-
@Penguin-Master, git repos are not file systems, so you do not add folders. Instead, you just add the file with the full path, even if some of the folders in that path do not ”exist” in the repo.
If I misunderstood something, please share also the command you are trying to run.
-
This post is deleted!last edited by
-
Git stash is basically a way of saying "I'm part-way through the work of the next commit, but I have to switch gears for a second, so stash this away for the time being and put me back in a clean working state of the last commit." popsimply undoes that operation, restoring the uncommitted changes to the working directory so you can keep going. 9Apps Showbox Tutuapp