[Bioc-devel] commit changes with scenario 1
Dan Tenenbaum
dtenenba at fredhutch.org
Tue Aug 16 17:35:27 CEST 2016
----- Original Message -----
> From: "Karim Mezhoud" <kmezhoud at gmail.com>
> To: "Dan Tenenbaum" <dtenenba at fredhutch.org>
> Cc: "bioc-devel" <bioc-devel at r-project.org>
> Sent: Tuesday, August 16, 2016 8:33:39 AM
> Subject: Re: [Bioc-devel] commit changes with scenario 1
> Thanks Dr Dan,
> I have multiple files to commit. How can I specify multiple files names?
>
> git commit -m " resolve prblm" -a "file1.R, file2.R"
>
You don't need to specify filenames if you use -a. If you do specify filenames you should not qute them or put commas in them.
git commit -m 'resolve prblm' file1.R file2.R
Dan
> Thanks
> karim
>
>
> On Mon, Aug 8, 2016 at 6:33 PM, Dan Tenenbaum <dtenenba at fredhutch.org>
> wrote:
>
>>
>>
>> ----- Original Message -----
>> > From: "Karim Mezhoud" <kmezhoud at gmail.com>
>> > To: "bioc-devel" <bioc-devel at r-project.org>
>> > Sent: Tuesday, August 2, 2016 2:53:53 PM
>> > Subject: [Bioc-devel] commit changes with scenario 1
>>
>> > I am trying to commit some changes to bioCancer
>> > <https://github.com/Bioconductor-mirror/bioCancer>. the issue is no
>> changes
>> > added to commit.
>> >
>> > Please, here is commands. Thanks
>> >
>> > - git clone https://github.com/Bioconductor-mirror/bioCancer
>> > - cd bioCancer/
>> > - ../update_remotes.sh
>> >
>> >
>> > Already on 'master'
>> > Your branch is up-to-date with 'origin/master'.
>> > Rebuilding
>> > .git/svn/refs/remotes/git-svn/.rev_map.bc3139a8-67e5-0310-
>> 9ffc-ced21a209358
>> > ...
>> > r117706 = 3d3efd35ec0406c4aaa4be764cf4ccb36a77d132
>> > Done rebuilding
>> > .git/svn/refs/remotes/git-svn/.rev_map.bc3139a8-67e5-0310-
>> 9ffc-ced21a209358
>> > Current branch master is up to date.
>> > Commit to git as normal, when you want to push your commits to svn
>> > 1. `git svn rebase` to get the latest SVN changes.
>> > 2. `git svn dcommit --add-author-from` to commit your changes to SVN.
>> >
>> >
>> >
>> > - Change manually vignette.Rmd file
>> > - git commit -m "just vignette"
>>
>> In your git commit command you are not specifying a file to commit.
>> You should either add the -a flag to commit all changed files (which have
>> already been added) or specify the file(s) you want to commit on the
>> command line.
>>
>> Dan
>>
>>
>>
>>
>> >
>> > On branch master
>> > Your branch is up-to-date with 'origin/master'.
>> > Changes not staged for commit:
>> > modified: vignettes/bioCancer.Rmd
>> >
>> > no changes added to commit
>> >
>> > - git svn rebase
>> >
>> > vignettes/bioCancer.Rmd: needs update
>> > update-index --refresh: command returned error: 1
>> >
>> >
>> >
>> > - git svn dcommit --add-author-from
>> >
>> > vignettes/bioCancer.Rmd: needs update
>> > update-index --refresh: command returned error: 1
>> >
>> > [[alternative HTML version deleted]]
>> >
>> > _______________________________________________
>> > Bioc-devel at r-project.org mailing list
>> > https://stat.ethz.ch/mailman/listinfo/bioc-devel
More information about the Bioc-devel
mailing list