Git integration with TC
Moderators: white, Hacker, petermad, Stefan2
Git integration with TC
Git integration would be a great feature to integrate into TC. Badges indicating the status of the file (modified, staged, unstaged, etc) and a status indicator of for the repo as a whole (branch, number of commits ahead/behind) are a few things that come to mind immediately. I also think it would be good to have some defined macros, like stage highlighted files and folders.
Thanks!
Thanks!
2viertaxa
There is a content plugin for TC to show some GIT information, maybe it can do something of what you requested. The plugin discussion topic:
http://ghisler.ch/board/viewtopic.php?t=42074
There is a content plugin for TC to show some GIT information, maybe it can do something of what you requested. The plugin discussion topic:
http://ghisler.ch/board/viewtopic.php?t=42074
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Re: Git integration with TC
i made backup of documents to a my client, with simple file copying. then, they need to make many movements, file renamings. then in the next backing up, tc's synchronise dirs is going to show all the moved/renamed files and directories as different. that is a big problem on syncing/backing up. if git was connected to that entire place (in this case, it is local disk d with documents, pictures etc moved here from c), and all renamings and movements were made with git, then probably that can be efficiently synced with backup disk. but, to say the truth, the client used to use windows explorer, so if even windows explorer was integrated to git, it would be ok.
Re: Git integration with TC
btw, i have just checked, cannot be the problem solved with rsync, i googled for "rsync moved files" and the answer in separate block in top is https://unix.stackexchange.com/questions/43957/using-rsync-to-move-not-copy-files-between-directories where i see that rsync does not solve this problem.
- ghisler(Author)
- Site Admin
- Posts: 48166
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Git integration with TC
I don't think that you can combine git and sync.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Git integration with TC
i thought this way: original local disk d is a git repo, and it has copy on backup disk, together with .git folder. i have heard that git is a distributed system, any local copy (at programmer's machines) has all versions of files as on git server. so, local disk d can be put into local git server, and all new renamings and moves can be downloaded into backup disk with git pull.
Re: Git integration with TC
You do not want to use Git for that:
- It's not really built for binary files.
- You would have the files twice - once in normal locations and once in the .git folder.
- You would need a file system driver monitoring each filesystem call and issuing commits for each change. That would be a huge performance hit and potentially security issue.
Windows 7 Pro x64, Windows 10 Pro x64
Re: Git integration with TC
Is there a way to do "git mv" while using the niceties of TC's rename, move, and multi-rename?
Re: Git integration with TC
I don't see how. Though, I'm not sure what you are trying to achieve. There is no special rename/move/... operation in git. "git mv" is just normal rename/move operation that you do with Explorer/TC/..., that additionally:
- ignores ".gitignore" configuration
- automatically adds the changes to the staging
Windows 7 Pro x64, Windows 10 Pro x64