automate the tasks at work.
I created a directory called "Python Scrips" and created a git repo; inside it are sub-directories Script1, Script2, Script3.
Now I want to create a branch for Script1.
Should I create a new branch for the parent directory "Python Scripts" or create a repo of Script1 and then create a branch of it?
I have heard nested repos are not a good practice.
Is there any other solution for this problem? Please share. Thank you
Branches are for the whole repo, not for a directory
But I only want the directory Script1. In future I might also create a branch for Script2
That's not how it works. Why you want a branch?
Because I want to implement a GUI for script 1
And ? Why that requires a branch?
Because I don't want to mix the command line and gui code
And why does it require a branch? Just use a folder for each script or GUI
Oh . Yes, that will work. Thanks
Обсуждают сегодня