Questions tagged [vcs-checkout]

Checkout a branch or file to the current working tree in a version control system repo.

See also

Specific version control system checkout tags: -

144 questions
0
votes
2 answers

git checkout -f in python

I want to make a checkout on a version of a Git repository in Python. I am using the following code lines: from git import Git g = Git(os.getcwd()) g.checkout(row[2]) the question is how can I make a forced checkout?
Amine Barrak
  • 139
  • 9
0
votes
1 answer

How to recover all deleted local files which were deleted using command (Git checkout ...)?

I had a project which I wanted to push to Git. So I create a local repo (git init). I had a .gitignore in remote repo so I couldn't push my local files to remote. So I did git checkout origin/master, and all my local files are gone. Is there any way…
user3132457
  • 789
  • 2
  • 11
  • 29
0
votes
1 answer

Unable to checkout wso2 samples

I am trying to checkout wso2 tutorials as mentioned at this link: https://docs.wso2.com/display/IS500/Configuring+Single+Sign-On+with+SAML+2.0#ConfiguringSingleSign-OnwithSAML2.0-Prerequisites Using the svn I am getting next error: Could anyone…
Andrew
  • 591
  • 2
  • 12
  • 33
0
votes
2 answers

Is there a way if I do git checkout a file of older version and then later git pull to get latest file again

I have a file which I had checkout out using previous git hash code using command : git checkout 1a4f8901b3b3b52903ac7c8e7aa7a0a7ba95b4f1 -- example/abcxyz.php now whenever I update any file and do git pull, git pull the command is unable to pull…
0
votes
1 answer

Git: Pull old commit into master

I initialized a bare repository on my shared drive and cloned it onto my local drive. I make changes locally, add it, commit it, and push it (git push origin master). I do the same thing on another computer and just git pull to get any changes…
0
votes
1 answer

Why Visual Studio Team System 2008 try to check out all solution's projects while debugging?

We develop using VS2008 solution that have about 26 project that's added to Team System Source control. The problem is: sometime when developer try to debug a project, VS check out all projects before debugging, we don't know Why this happen…
Amr Badawy
  • 7,453
  • 12
  • 49
  • 84
0
votes
1 answer

Is there a way to checkout code from Bitbucker server (stash) from within Java code

We are maintaining some JavaScript code within BitBucket. We want to be able to checkout JavaScript code from Bitbucket and be able to access the .js file within our Java application. Is there a way to checkout code using Java. Is there some library…
user55926
  • 315
  • 1
  • 14
0
votes
0 answers

Checkout, commit, push (using GIT integrated through publishing tool)

We use MadCap (a publishing tool), which has direct integration with GIT. MadCap always, and only, pulls from the remote repository. I cannot tell MadCap to "read" my local repository. So, I need to "recover" the repository from a certain point in…
Dcan
  • 1
0
votes
0 answers

How to stop Visual Studio 2017 from checking out files when running code analysis?

Whenever I run code analysis on my solution, a whole bunch of code files that have deviations from the configured rule set get checked out with pragma statements around the rogue line. Is there a way to get the code analysis errors/warnings outside…
DiligentKarma
  • 5,198
  • 1
  • 30
  • 33
0
votes
2 answers

File checkin and checkout in Java

I came across one interesting requirement, where we have to implement a checkin/checkout functionality using Java. The requirement is when the user2 the open up the file for writing/updating he will be restricted if another user1 is also making…
Nayan
  • 578
  • 7
  • 13
0
votes
1 answer

How to name local workspace using command line interfaces while checking out files from CVS repository by means of a tag

Right now i am using below mentioned cvs command line argument for checking out files from CVS repository. # Module1_1_20_2017 is the tag name. #Test/user_Test/work is the module name. cvs checkout -r Module1_1_20_2017 Test/user_Test/workload I…
Sai
  • 73
  • 1
  • 10
0
votes
1 answer

How to open same file paths for edit & checkout?

I have an ongoing product with p4 version control. I have the need to edit same files every time. (different version of the product) I want to be able to check out and open same files without using scripts. Is there any way I can do it in some p4…
Nir B
  • 75
  • 2
  • 6
0
votes
1 answer

How to prevent CVS from converting line endings?

Like many other people we're having line ending issues with CVS. However, unlike most our problem is the opposite. Is there a way to force CVS to not convert lines from /n to CR/LF. I would like the line endings to remain in the Unix format even if…
Sagar
  • 9,456
  • 6
  • 54
  • 96
0
votes
1 answer

No files are being checked out on a CVS checkout

I installed a CVS server today. I installed cvs server using sudo apt-get install cvsd. Now the folder where everything is stored is /var/lib/cvsd/cvsrepo/test. Folder test contains a dummy text file by the name check.txt, which would prove…
sai
  • 59
  • 1
  • 1
  • 5
0
votes
1 answer

how to specify order of vcs roots checkout in teamcity v8.1.5

i'm using teamcity v8.1.5. i read online somewhere i thought vcs roots are checked out based on the order that they are listed in the version control settings but that is not the case. e.g. version control settings have vcs roots listed…
Scott Chang
  • 301
  • 4
  • 11