Add/Commit menu (from VS Code) exporting file but not running git add on sc-list.txt? #90
-
@isc-svelury Attempting to add some files to my repo from VS Code (using ISFS) - use Add command from Source Control Menu and it appears to work:
I even went ahead and ran the commit with a comment which worked as I can see it in the Git GUI - However, if I do a git status from the terminal, I see:
If I push to the remote, my two new files go just fine but I'm curious if there's harm in the sc-list.txt being out of sync? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
The This ensures that we always keep the most up-to-date version of all the files that need to be synced between the filesystem and the server while not touching other files that live exclusively in either of them. The file is updated when you add or remove files from source control. That is why this file was also modified when you added some files to source control. In practice, having an out-of-sync sc-list.txt would mean that when you run You should commit it to Git to ensure consistent extension behavior across all the distributed repositories. It is easiest to have entire packages or projects in the Note that this does not affect how the automatic Import and Export work when you save a file after editing. That will work as expected regardless of the state of the |
Beta Was this translation helpful? Give feedback.
-
That helps me understand, thanks. Is it possible to scope that file to the namespace (e.g., This kinda links into the other discussion I started now but I would prefer to maintain a single repo for our I4H Integration environment which has a few primary namespaces but most of our common code is kept in a 'LIB' namespace to share across the integration namespaces. Then a separate repo for our UCR environment in similar fashion. As long as I don't use Those top level folders align to the two namespaces on the same instance of I4H that are both configured with git-source-control using the same git path
|
Beta Was this translation helpful? Give feedback.
The
sc-list.txt
is used to keep track of the files that are in Git and on the server. When we import all files into the server or export all files out to the filesystem, we use the files insc-list.txt
to determine which files need to be imported/exported.This ensures that we always keep the most up-to-date version of all the files that need to be synced between the filesystem and the server while not touching other files that live exclusively in either of them.
The file is updated when you add or remove files from source control. That is why this file was also modified when you added some files to source control.
In practice, having an out-of-sync sc-list.txt would mean that when you run
…