As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [version-control]

Version-control software allows you to keep several versions of a file. Each time the file is changed, a new version is created. Older versions can be retrieved. Related files can be grouped together. Multiple people can edit the same files and their changes can be merged together.

Filter by
Sorted by
Tagged with
0 votes
0 answers
18 views

Notepad++ does not detect attribute change from read-only to writable

My Notepad++ v8.5.1 does not recognize when an opened file changes from read-only to writable (by checking out in ClearCase). It still simply does not edit when typing. Even Reload / Reload from Disk ...
MattTT's user avatar
  • 101
0 votes
0 answers
15 views

Perforce workspace and view - deleted file history affecting previous client view spec

I have a view spec //depot/mystuff/proj1 //myworkspace/... //depot/mystuff/proj2 //myworkspace/... The original idea was that the spaces would be orthogonal and that there would be two directories of ...
Rich Maes's user avatar
  • 235
0 votes
0 answers
118 views

GitHub Fork Explorer: Showing the difference between forks (In browser)?

Context Every now and then I come across a large GitHub project that has a lot of forks, quite a few recent and open pull requests, while the repo seems untouched by the original author for a few ...
a.t.'s user avatar
  • 383
0 votes
0 answers
84 views

How to open-source only a portion of a repository?

I want to maintain an open-source (preferably git) repository with closed-source components, so that... Unauthorized people can view and contribute to the open-sourced files in the repo. Merged open-...
Hykilpikonna's user avatar
2 votes
1 answer
339 views

How many objects is too many for a git repository?

We are planning to store frequently updated text and graphics in a version control system. It's not source code, but it is mostly text files. No single object is "large", but the size of the ...
Shawken X's user avatar
4 votes
1 answer
2k views

Rewrite and Resign git commit-history with git-filter-repo

I have an existing private git-repository (with two branches), hosted on GitHub. I plan to make it public, but I don't want to make public the author email-address. So, the plan is to rewrite the ...
x.projekt's user avatar
  • 161
0 votes
0 answers
87 views

How to remove git tracking but keep file in repo

I do not want to delete the file in the repo. I do want the file cloned a developers and my machine. However, I do want to ignore the file from future check in/push. My goal is that only files that ...
JWorkin's user avatar
0 votes
0 answers
289 views

default to Python 3.9

I have an ubuntu 20.04 Desktop that comes with Python 3.8 by default. How do I make Python 3.9 default Python? I had to install this manually. When I SSH into the machine I was just run alias python=...
bbartling's user avatar
  • 185
0 votes
1 answer
47 views

In Docker is there a way to maintain (updateable and trackable) "aliases" for images?

In a project with several references to certain Docker-images I want to provide a versionable (i.e git-trackable) way to use common names for Docker-images. Currently at several places in an existing ...
frans's user avatar
  • 1,017
1 vote
1 answer
103 views

Git shows modified *.ipynb files, cannot reset, stash or switch branch

I've been having this reoccurring issue recently: $ git status On branch foo Your branch is up to date with 'origin/foo'. Changes not staged for commit: (use "git add <file>..." to ...
oarfish's user avatar
  • 676
2 votes
0 answers
569 views

Excel rows of data suddenly disappeared after undoing deletion of unrelated rows. Version history suddenly blank. Get my data back?

I have been editing an Excel workbook for 6 days. The workbook is saved in sharepoint and also marked to always be kept on my laptop. I have saved this .xlsx file dozens of times in the last few days. ...
theforestecologist's user avatar
0 votes
1 answer
367 views

Prevent merging certain local changes to files in version control in git

I'm wondering what is a good way of preventing certain local changes to be merged to a branch in git. Concretely, I often find myself wanting to make local changes to source controlled files and have ...
CervEd's user avatar
  • 147
1 vote
1 answer
40 views

Version control ideas besides SVN or Git?

I'm looking for some version control method or system i could use - but SVN or Git won't work. I write code, allone, no team I use several different computers, some private, some from my employer ...
xph's user avatar
  • 305
1 vote
0 answers
62 views

Is there a way to do version controlled operating system back-ups?

I recently messed up pretty badly by removing all 32-bit binaries in my Ubuntu 18.04, of course I'd forgotten to make a back-up. I've had similar issues in the past on Windows as well where I did ...
JansthcirlU's user avatar
1 vote
1 answer
81 views

Backup files on external disk. Take new backups only for files that have changed like GitHub

I want to backup thousands of files on my external hard disk. They are plain text files. I update some of them on a regular basis. Now, if I copy them form my PC to hard disk, I have two options: ...
Real Noob's user avatar
  • 257
2 votes
0 answers
29 views

Can I do exponential binary search, or open-interval git bisect?

Situation git bisect is great to locate the commit that introduced a bug. You just need to know a good commit where the bug is not present, a (newer) bad commit where it is present, and a method to ...
Turion's user avatar
  • 173
0 votes
1 answer
2k views

Find changes (new rows, deleted rows, updated rows) between two excel files

We have an excel file with two sheets (oldSheet and newSheet) both of them containing the following columns (A: "barcode", B: "price", C: "discount"). The newSheet is an ...
Yousif's user avatar
  • 113
0 votes
1 answer
216 views

Versioning files in Windows 10 Personal Laptop

Often when I am working on a Word Report or a R script etc. I find myself naming a series of files as "foo_file_4_July_3pm_" or "foo_file_4_July_5pm_" etc. just to allow me the ...
curious_cat's user avatar
0 votes
1 answer
416 views

OneDrive only shows "OneDrive user" as editor in version history (but no specific username)

I share a few Excel files through OneDrive. We only access the files via browser to open them in Excel 365. When you go to the version history of a file and check a specific previous version of a file:...
Albin's user avatar
  • 9,089
0 votes
0 answers
49 views

Why do git and mercurial reports conflicts in a file when the same change is made on both sides?

For instance, if I have a file that contains the text ABC, and then I make a branch and change it to ABCD, but then go back to the original branch and also change it to ABCD, then I merge the branches ...
ekolis's user avatar
  • 439
0 votes
2 answers
295 views

cvs update when we have a conflict

I am trying to update my local file with CVS UPDATE. I see the differences in CVS diff, but when doing cvs update I get nothing changed and I see M before my file name in the output. What is that and ...
Dhiaa Eddin Anabtawi's user avatar
1 vote
0 answers
229 views

Collaborate to create Anki decks [closed]

Not sure where to ask this question. It is not a software recommendation, more of a method recommendation. I am gonna try to administer a collaboration among 10-20 persons to create an Anki deck to ...
d-b's user avatar
  • 594
1 vote
2 answers
134 views

Using a Git repository with secure data

A colleague and myself want to work on a project together which uses data which we are not permitted to save on our workstations (it can be saved on the company server, and we can open it on our ...
Tom's user avatar
  • 13
1 vote
1 answer
28 views

Doing a Pull Request to latest commit on server

Let' assume the last commits in my server are like this: A1 -> A2 -> A3 My local repo is synced with server, and now I branch from A3: A3 | B1 -> B2 -> B3 Finally I have finished ...
Click Ok's user avatar
  • 3,815
3 votes
1 answer
571 views

Mercurial hg identifies unchanged files as modified

I switched to a branch and hg revert --all then I wanted to import a diff file with hg import [filename] However, I got "abort: uncommitted changes". So I typed hg st It turned out that I had ...
Y.W's user avatar
  • 31
0 votes
1 answer
32 views

Team Foundation Server - Git Enabled Team Project vs Git Team Project

We have a TFS 2018 project, that looks like it was accidentally created as Version Control = TFVC when we wanted to use Git. However it is git enabled; we use Git repos for Source Control. I created ...
user39160's user avatar
  • 155
1 vote
1 answer
5k views

Difference between .pdf and *.pdf in gitignore

Does including .pdf in a .gitignore file indicate that a file literally named .pdf will be ignored while including *.pdf ignore any file that ends in that file ending?
Hugh_Kelley's user avatar
0 votes
0 answers
286 views

Using subversion and git at the same time

In my little firm, I have been using subversion for over 5 years. I am using VisualSVN Server Manager for managing repos and tortoiseSVN in user's computer to commit, update etc. I want to keep this ...
Tanmay Chakrabarty's user avatar
0 votes
1 answer
161 views

Git: pushing signed commits crashes all operations

I am using different git repositories for source code versioning cloned from different upstream origins (e.g. GitHub.com, gitlab.com, self-hosted gitlab etc.), all with SSH key access. git pull always ...
LukeLR's user avatar
  • 1,463
0 votes
1 answer
187 views

Lost github commits

Having some dissertation panic here :| Basically, I did something silly, I had two branches off of the master branch working on two separate things: branch A and branch B. This meant 0 conflicts. I ...
Sev's user avatar
  • 3
0 votes
1 answer
354 views

Tortoise Git Commit Lost

I wonder if you could help me. I created a new branch on GitHub using the web interface. I checked out the master repository and switched to this branch and pulled, using tortoise git. I made all my ...
Alanaj5's user avatar
  • 11
2 votes
2 answers
1k views

How to use GitKraken on Heroku

I'm new to using Heroku and I noticed that the way we push our code to it is by using git commands. I was wondering if it's possible to use GitKraken to do it. I used GitKraken only on 2 BitBucket ...
MrAmericanMike's user avatar
2 votes
2 answers
4k views

RVM can't find installed new Ruby version (previously installed using Homebrew)

I'm a beginner, please excuse me if I'm saying or doing things you perceive as utterly stupid. I'm not doing it on purpose. How this started: I wanted to install gems, but got the following error ...
Hanneke L's user avatar
1 vote
1 answer
80 views

ClearCase: How to write anything to Clearcase-managed directory?

I am completely new to ClearCase (I have mostly used SVN and some Git in the past). I have spent some hours trying to write anything new into a directory managed by ClearCase. e.g. mkdir foo returns ...
Harry's user avatar
  • 131
3 votes
1 answer
411 views

Emacs - Is it possible to have a save history of a file?

I want to know if there is a way to have file history in emacs. With file history I mean: List all the times a file has been saved. View the diff between the current file and the file in that version....
user3322829's user avatar
1 vote
1 answer
1k views

Git: should I checkout a tagged version or master in production?

General question around Git. We work in 2 week sprints and have a 4 branch process: develop > Release-B-Name(Test) > Release-A-Name(Beta) > master Each sprint, we create a new branch with some name ...
An0nC0d3r's user avatar
  • 141
1 vote
2 answers
117 views

How to store every file change indefinitely?

How can I automatically save the entire change history of the files on my computer indefinitely? Dropbox stores file version history only intermittently and only for the past 30 days. The solution I ...
ma11hew28's user avatar
  • 639
2 votes
2 answers
2k views

How to backup file from server and keep last n versions?

I am trying to create a batch script to backup an Access Db from a NAS Server to another server and keep the last "n" versions of that file (n is fixed inside the script), this script is going to to ...
Chico3001's user avatar
  • 262
1 vote
0 answers
1k views

Why "svn log -g" for including merged revisions in log output takes forever?

For viewing all commits in svn log including those commits which are part of the merged branches -g option must be used. But executing svn log -g on the SVN repository which I'm working with seems to ...
bobeff's user avatar
  • 143
2 votes
1 answer
306 views

How to find source code of specific version of linux tools, i.e. ifconfig

I had a weird situation yesterday when a shell script broke on the machine of colleague. the Script was parsing output from ifconfig, and it would assume that there was no : (colon) after the ...
Thomas Hirsch's user avatar
4 votes
0 answers
124 views

Git - Limit number of revisions in advance?

I searched for the exact same term I titled this question with, but all I found were questions regarding the cleanup of git repositories which contain to many revisions of too many or especially too ...
Wanderer's user avatar
  • 153
2 votes
0 answers
3k views

Migrate SVN to Git, non-standard layout

I am trying to migrate our work SVN repository to Git. I am using the following library to assist with building the git-svn command. The problem is our SVN repo is set out like so: svn root/ ...
Kal's user avatar
  • 125
1 vote
0 answers
45 views

Word 2010: How to Make Header Info Easily Changeable Across Section Breaks

I have a 10-page document that describes a procedure on how to do something. Each page has a Revision letter in a header, but all pages need to keep the same "Page-1" Revision. Page-7 has a ...
Bob Paehr's user avatar
1 vote
3 answers
68 views

Automated Version Control - for the business environment

I am trying to establish version control and record for my father at his work, in construction. Just a way for him to track changes to files (bids, quotes, schedules, etc.), and be able to retrieve ...
J-Dizzle's user avatar
  • 482
0 votes
1 answer
30 views

Versioning specific text / code (R) files on Windows

I find myself editing R code files on Windows using RStudio. But often I want to keep previous versions in case I make a mistake and want to roll back to a previous version etc. Right now RStudio ...
curious_cat's user avatar
56 votes
4 answers
28k views

Setting up an encrypted git-repository

Situation Hi, I would like to save data with git, encrypted (on some platform like bitbucket or github). Therefore the question: Question I am looking for different hassle-free ways on: How to set ...
gr4nt3d's user avatar
  • 691
6 votes
1 answer
25k views

I forgot to activate Track Changes in a Word document. How to highlight my edits?

After I saved the document and closed Word, I realised that I forgot to activate Track Changes. I have a copy of the previous revision. How can I highlight my (too many) edits before sending the ...
Orion's user avatar
  • 183
0 votes
0 answers
26 views

Sync two sets of folders

I have a desktop which is used as the main work PC and I'm going to be regularly commuting, so I got a laptop for working while away. The question is how do I sync the two work folders when I leave ...
Cjen1's user avatar
  • 129
1 vote
1 answer
3k views

How to clone Mercurial repository from remote server?

How do I clone an Mercurial repository if private key is required for SSH? I tried following and it does not work. dukeimg@localhost:~/foo/test$ hg clone --ssh -i ~/keys/dukeimg ssh://username@...
Viktor's user avatar
  • 123
1 vote
1 answer
1k views

Version control for audio files

What is a good approach for version control of audio files? I have a 20GB library of audio lectures to tune up and bring in to a state ready for releasing and sharing. It's important to keep the ...
matt wilkie's user avatar
  • 4,955

1
2 3 4 5 6