"git svn rebase" without changing the current branch

Guid

I wrote a (bash) script located on my master branch and in the middle of it, I execute the following instructions:

(...)
git checkout featurebranch
git svn rebase
git checkout master
(...)

This script does not exist in the "featurebranch" so my script is aborted at the next instruction :) (you know, the man who saw the branc on which he sits :))

I don't really know how to resolve this problem since "git svn rebase" does not accept a target branch for the rebase operation, and I'm forced to checkout...

Andrew Aylett

Write a driver script that copies the main script to /tmp and executes it from there?

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

"git svn rebase" without changing the current branch

From Dev

What branch to git svn rebase on?

From Dev

git svn rebase always requires force push

From Dev

git svn rebase index file open failed : Invalid argument

From Dev

Git: git svn rebase failed. RA layer request failed

From Dev

git svn rebase index file open failed : Invalid argument

From Dev

Script getting current git branch without commandline

From Dev

How to Git pull to a new branch without affecting the current branch?

From Dev

Refresh a p:schedule without changing the current view

From Java

View a file in a different Git branch without changing branches

From Dev

Vim: Show current git branch in lightline status line without fugitive

From Dev

Move current changes to a new branch without initial commit

From Dev

How to store the result of query on the current table without changing the table schema?

From Dev

Android: How to get string in specific locale WITHOUT changing the current locale

From Dev

Symlink aliasing files in subdirectories without changing current directory

From Dev

Is it possible to modify data in a client dataset without changing current record?

From Dev

git switch from one branch to another without carrying the changes in the current branch

From Dev

How can I get all the files from one git branch, and put them into the current branch without merging?

From Dev

Git branch another branch from current branch

From Dev

Changing checked out branch

From Dev

Moving files and commit history from one git branch to another without changing the SHA

From Dev

Git: Update local branch from master without changing locally changed files

From Dev

Save a file under another name exactly as it was on a specific date/commit without changing branch or reverting

From Dev

Checkout all files from branch, without changing HEAD nor existing files

From Java

There is no tracking information for the current branch

From Dev

"git checkout <commit id>" is changing branch to "no branch"

From Dev

How to set current spinner text without changing associated selection list items

From Dev

How can I run command in a folder without changing my current directory to it?

From Dev

Laravel 5: Update record without changing current date/time value of updated_at field

Related Related

  1. 1

    "git svn rebase" without changing the current branch

  2. 2

    What branch to git svn rebase on?

  3. 3

    git svn rebase always requires force push

  4. 4

    git svn rebase index file open failed : Invalid argument

  5. 5

    Git: git svn rebase failed. RA layer request failed

  6. 6

    git svn rebase index file open failed : Invalid argument

  7. 7

    Script getting current git branch without commandline

  8. 8

    How to Git pull to a new branch without affecting the current branch?

  9. 9

    Refresh a p:schedule without changing the current view

  10. 10

    View a file in a different Git branch without changing branches

  11. 11

    Vim: Show current git branch in lightline status line without fugitive

  12. 12

    Move current changes to a new branch without initial commit

  13. 13

    How to store the result of query on the current table without changing the table schema?

  14. 14

    Android: How to get string in specific locale WITHOUT changing the current locale

  15. 15

    Symlink aliasing files in subdirectories without changing current directory

  16. 16

    Is it possible to modify data in a client dataset without changing current record?

  17. 17

    git switch from one branch to another without carrying the changes in the current branch

  18. 18

    How can I get all the files from one git branch, and put them into the current branch without merging?

  19. 19

    Git branch another branch from current branch

  20. 20

    Changing checked out branch

  21. 21

    Moving files and commit history from one git branch to another without changing the SHA

  22. 22

    Git: Update local branch from master without changing locally changed files

  23. 23

    Save a file under another name exactly as it was on a specific date/commit without changing branch or reverting

  24. 24

    Checkout all files from branch, without changing HEAD nor existing files

  25. 25

    There is no tracking information for the current branch

  26. 26

    "git checkout <commit id>" is changing branch to "no branch"

  27. 27

    How to set current spinner text without changing associated selection list items

  28. 28

    How can I run command in a folder without changing my current directory to it?

  29. 29

    Laravel 5: Update record without changing current date/time value of updated_at field

HotTag

Archive