git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* (unknown)
@ 2007-11-11 13:08 Michael Dressel
  2007-11-11 15:22 ` (no subject) Johannes Schindelin
  0 siblings, 1 reply; 12+ messages in thread
From: Michael Dressel @ 2007-11-11 13:08 UTC (permalink / raw)
  To: git


>Michael Dressel wrote:
>Ok nice. Another thing is that git-push will push all the tracking 
>branches in refs/remotes/origin. 

I learned that I only have to edit the .git/config file to avoid that 
git-push pushes everything. 

I modified the remotes names and added push lines explicitly.

Is that the recommended way?

In my example (git-branch -a -v):
* exp                 aa854c6 shtest 4
  master              34924b9 mastertest 1
  origin/exp          aa854c6 shtest 4
  origin/master       b68e7a9 brt master 1

I used the following .git/config:
[core]
        repositoryformatversion = 0
        filemode = true
        bare = false
        logallrefupdates = true
[remote "origin1"]
        url = /home/repo/src
        fetch = +refs/heads/master:refs/remotes/origin/master
        push = +refs/heads/master:refs/heads/master
[remote "origin2"]
        url = /home/repo/src
        fetch = +refs/heads/exp:refs/remotes/origin/exp
        push = +refs/heads/exp:refs/heads/exp
[branch "master"]
        remote = origin1
        merge = refs/heads/master
[branch "exp"]
        remote = origin2
        merge = refs/heads/exp

Cheers,
Michael

^ permalink raw reply	[flat|nested] 12+ messages in thread
* (No Subject)
@ 2025-02-12 14:07 blg666
  0 siblings, 0 replies; 12+ messages in thread
From: blg666 @ 2025-02-12 14:07 UTC (permalink / raw)
  To: git@vger.kernel.org


[-- Attachment #1.1: Type: text/plain, Size: 36 bytes --]



Dikirim dari Proton Mail Android

[-- Attachment #1.2: publickey - blg666.exp@proton.me - 0xEA5D1EAF.asc --]
[-- Type: application/pgp-keys, Size: 892 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 322 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread
* (No Subject)
@ 2024-03-06 12:36 Emilis Kiškis
  0 siblings, 0 replies; 12+ messages in thread
From: Emilis Kiškis @ 2024-03-06 12:36 UTC (permalink / raw)
  To: git@vger.kernel.org

What did you do before the bug happened? (Steps to reproduce your issue)

1. Create a new worktree with `git worktree add new-worktree`
2. Modify files in the new worktree
3. Move new worktree back to main working tree (i.e. master)

What did you expect to happen? (Expected behavior)

I expected uncommited changes from `new-worktree` to merge with changes from `master`

What happened instead? (Actual behavior)

The changes from `new-worktree` were lost

What's different between what you expected and what actually happened?

The uncommited changes were lost instead of preserved

Anything else you want to add:

I lost 4 hours of work :(((

Please review the rest of the bug report below.
You can delete any lines you don't wish to share.


[System Info]
git version:
git version 2.39.3 (Apple Git-145)
cpu: arm64
no commit associated with this build
sizeof-long: 8
sizeof-size_t: 8
shell-path: /bin/sh
feature: fsmonitor--daemon
uname: Darwin 23.3.0 Darwin Kernel Version 23.3.0: Wed Dec 20 21:30:44 PST 2023; root:xnu-10002.81.5~7/RELEASE_ARM64_T6000 arm64
compiler info: clang: 15.0.0 (clang-1500.1.0.2.5)
libc info: no libc information available
$SHELL (typically, interactive shell): /bin/zsh


[Enabled Hooks]
pre-push

^ permalink raw reply	[flat|nested] 12+ messages in thread
* (no subject)
@ 2008-07-12 22:31 Kevin Phair
  0 siblings, 0 replies; 12+ messages in thread
From: Kevin Phair @ 2008-07-12 22:31 UTC (permalink / raw)
  To: git

subscribe

^ permalink raw reply	[flat|nested] 12+ messages in thread
* (no subject)
@ 2008-04-21 18:21 George Shammas
  0 siblings, 0 replies; 12+ messages in thread
From: George Shammas @ 2008-04-21 18:21 UTC (permalink / raw)
  To: git

subscribe

^ permalink raw reply	[flat|nested] 12+ messages in thread
* (no subject)
@ 2007-07-17 22:39 Mark Levedahl
  0 siblings, 0 replies; 12+ messages in thread
From: Mark Levedahl @ 2007-07-17 22:39 UTC (permalink / raw)
  To: paulus, Git Mailing List

 From 567906ddb2fbbcf07325acc2808346ad6a472df1 Mon Sep 17 00:00:00 2001
From: Mark Levedahl <mdl123@verizon.net>
Date: Tue, 17 Jul 2007 18:35:46 -0400
Subject: [PATCH] gitk - Ignore ctrl-z as EOF on windows
To:        mlevedahl@verizon.net
-=-=-=-=-=-=-=-=-=# Don't remove this line #=-=-=-=-=-=-=-=-=-
Cygwin's Tcl is configured to honor any occurence of ctrl-z as an
end-of-file marker, while some commits in the git repository and possibly
elsewhere include that character in the commit comment. This causes gitk
ignore commit history following such a comment and incorrect graphs. This
change affects only Windows as Tcl on other platforms already has
eofchar == {}. This fixes problems noted by me and by Ray Lehtiniemi, and
the fix was suggested by Shawn Pierce.

Signed-off-by: Mark Levedahl <mdl123@verizon.net>
---
 gitk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gitk b/gitk
index 39e452a..238607e 100755
--- a/gitk
+++ b/gitk
@@ -101,7 +101,7 @@ proc start_rev_list {view} {
     set commfd($view) $fd
     set leftover($view) {}
     set lookingforhead $showlocalchanges
-    fconfigure $fd -blocking 0 -translation lf
+    fconfigure $fd -blocking 0 -translation lf -eofchar {}
     if {$tclencoding != {}} {
     fconfigure $fd -encoding $tclencoding
     }
--
1.5.3.rc2.5.g66bbd

^ permalink raw reply related	[flat|nested] 12+ messages in thread
* (no subject)
@ 2005-06-20  7:08 dierbro
  0 siblings, 0 replies; 12+ messages in thread
From: dierbro @ 2005-06-20  7:08 UTC (permalink / raw)
  To: git

unsubscribe git

^ permalink raw reply	[flat|nested] 12+ messages in thread
* (no subject)
@ 2005-04-18 16:31 Davide Rossetti
  0 siblings, 0 replies; 12+ messages in thread
From: Davide Rossetti @ 2005-04-18 16:31 UTC (permalink / raw)
  To: git

subscribe git


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2025-02-12 14:07 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-11 13:08 (unknown) Michael Dressel
2007-11-11 15:22 ` (no subject) Johannes Schindelin
2007-11-12  8:00   ` cogito remote branch MichaelTiloDressel
2007-11-12  9:55     ` Johannes Schindelin
2007-11-12 10:47       ` MichaelTiloDressel
  -- strict thread matches above, loose matches on Subject: below --
2025-02-12 14:07 (No Subject) blg666
2024-03-06 12:36 Emilis Kiškis
2008-07-12 22:31 (no subject) Kevin Phair
2008-04-21 18:21 George Shammas
2007-07-17 22:39 Mark Levedahl
2005-06-20  7:08 dierbro
2005-04-18 16:31 Davide Rossetti

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).