-2
코드를 실행할 때 코드가 사용되는 여러 가지 브랜치에서 git 소프트웨어를 사용하고 있습니까? 마스터 또는 마지막 커밋 된 변경 사항이 사용됩니까?터미널에서 코드를 실행할 때 사용할 분기는 무엇입니까?
코드를 실행할 때 코드가 사용되는 여러 가지 브랜치에서 git 소프트웨어를 사용하고 있습니까? 마스터 또는 마지막 커밋 된 변경 사항이 사용됩니까?터미널에서 코드를 실행할 때 사용할 분기는 무엇입니까?
당신은 그것을 테스트 할 수
mkdir test
cd test
vim test.R
print("hi") # save with ESC, CTRL+x
git add test.R
git commit -m "Adding file"
git branch newbranch # create new branch
git checkout newbranch # switch to the new branch
vim test.R # edit the file on the new branch
print("bye") # save with ESC, CTRL+x
cd ..
cat test/test.R
print("bye")
R CMD BATCH test.R # Run the program with an external application
cat test.Rout # observe the output
> print("bye")
[1] "bye"
그래서 변화가 커밋되지 않은 경우에도 당신이에 작업하던
지점이 사용됩니다.