Skip to main content

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
2 answers
132 views

Docker install in centos 7.4 with version info failed

I try to use yum install docker-ce-3:25.0.4-1.el7 #the current version to install, It saids no package docker-ce-3:25.0.4-1.el7 available. but if I remove the version info,just type yum install ...
cloudscomputes's user avatar
0 votes
0 answers
101 views

Authentication of commits and pushes in a bare git repo without an actual git server running

I am trying to understand what a git repo itself without a server hosting it is able to do. My goal is a bare git repo somewhere on our network drive that people can pull and push to. I was able to ...
patvax's user avatar
  • 101
0 votes
0 answers
19 views

How to move a stream in one depot to another depot in Accurev?

A stream has already been parented in an existing depot. However, this stream does not belong there and would better reside in another depot. How to move an existing stream to another depot?
ShastaBiz's user avatar
2 votes
1 answer
806 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
2 answers
4k 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
322 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
489 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
  • 245
0 votes
1 answer
58 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,089
2 votes
1 answer
289 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
  • 806
2 votes
0 answers
1k 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
675 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
  • 167
1 vote
1 answer
78 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
  • 370
1 vote
0 answers
72 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
212 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
  • 277
2 votes
0 answers
39 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
  • 193
1 vote
1 answer
3k 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
  • 123
0 votes
1 answer
336 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
461 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
  • 10.9k
0 votes
0 answers
63 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
  • 479
0 votes
2 answers
407 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
256 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
  • 1
1 vote
2 answers
145 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
84 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,915
3 votes
1 answer
924 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
36 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
  • 175
1 vote
1 answer
7k 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
381 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
263 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,551
0 votes
1 answer
299 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
520 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
5k 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
104 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
720 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
2k 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
  • 151
1 vote
2 answers
153 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
  • 708
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
  • 274
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
344 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
138 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
47 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
69 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
  • 538
0 votes
1 answer
37 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
60 votes
5 answers
34k 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 ...
BadAtLaTeX's user avatar
8 votes
1 answer
35k 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
  • 203
0 votes
0 answers
36 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
4k 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
  • 5,143
0 votes
1 answer
242 views

How might one version control Linux kernel firewall rules?

Our router is CentOS but we just use iptables to modify Linux kernel firewall rules. There is a script that's under version control which resets all the chains/rules, but in doing so drops all ...
Samuel Harmer's user avatar

1
2 3 4 5 6