I am looking for a way to have the 'Not Versioned Files' checked by default when committing.
Is there a way to do this?
Related
In TortoiseGit commit dialog (before making a commit), I selected a particular file and right click -> Revert
I have changed my mind and would like to "unrevert" this file.
I can't find anything that achieves this. There is no record in the log of this specific file revert and of course because I hadn't committed those changes there is no point to roll back to. Is this possible?
The file should be put into the Windows recycle bin before the changes were undone.
There is no other failsafe active, as the changes were not version controlled (committed).
Also see https://tortoisegit.org/docs/tortoisegit/tgit-dug-revert.html
I created 2 files in wrong location. Then I move them in finder and delete their reference in the project. After that I receive "Missing file" warning.
How to remove those references and remove the warning?
Have you removed them in Target → Build Phases → Compile sources?
I had this problem when I deleted files from my project and chose "Remove Reference Only" but later manually deleted the files using Finder. I think the Source Control system got confused and I kept getting these warnings for a bunch of files.
I was able to fix it by creating a new branch in Source Control, merging the files from master and switching to that branch. After that all the warnings disappeared. It seemed to understand that the files are now deleted so no more warnings.
I was then able to switch back to the main branch and the warnings were still gone so I deleted the new branch and everything is back to normal now.
I might be a bit late with the answer, but the way I solved this issue is to discard changes for the missing files since the problem is caused by Source Control. The files are not visible on the project navigator but if you try to commit the project you will see the missing files are unchecked on the popup window.
I remember that in the past I was able to Exclude selected files from Source Control. But now this is missing:
How do I get it back. I want to exclude permanently, for example the photos folder.
This feature can now be found in the Pending Changes window:
You must first undo any pending changes on this item if there are any.
And you can specify a .tfignore in your source control system to make TFS automatically ignore files (the above mentioned dialog will create or update this file through the UI)
I have cloned a repository in GitHub to my windows GitHub program. But I see lots of files that are "deleted". I do not want to see them, how to hide them?
When a file is shown as 'deleted' in GitHub for windows, the application is trying to tell you that you've deleted a certain file since you've cloned the repository.
You can't hide the files coming up as 'deleted', as they're changes that need to be committed, however, you can untick the files by clicking the checkbox next to the file name in GitHub for windows, which will stop you committing the deleted files to the Git repository.
In future, if you wish to stop changes that have been made to a specific folder or file type from appearing in GitHub for windows, you can add a .gitignore file to the root directory of the Git repository, with the file extensions and folder names of the files you want to ignore. More information about gitignore files can be found at https://help.github.com/articles/ignoring-files
I'm working under a single repository and mostly in one solution.
However, during the work on the solution I do change other files as well, when I come to commit, however, AnkhSVN only shows the files that are part of the solution. That forces me to use TortoiseSVN to do the commit on the whole directory, which in turn misses some of the files that I added with AnkhSVN.
The simplest solution to this would be if AnkhSVN showed me ALL the pending changes for the repository. A worse alternative would be if AnkhSVN flagged added files so that TortoiseSVN would be also aware to them when doing commit from it.
Anyone knows a solution to these issues?
Thanks!
You can set an option to auto add files when new files are created that should be versioned by going to Tools -> Options -> Source Control -> Subversion Environment. Select "Directly add new files to Subversion" here.
Another alternative to make "New" files "Added" is the "Apply to Working Copy" command, available through the drop down next to the Commit button in the Pending Changes window.
In TortoiseSVN, there's a checkbox in the commit dialog "show unversioned items". If you check that box, the files that are not added yet are shown as well.
You can right click the svn folder then TortoiseSVN-->Add , will show all the items which is not included for supervision.
check the screen shot