拉项目 在本地仓库中右键git clone,填写地址 OK, 然后在拉下来的项目上面右键检出创建dev分支。 要将新分支导入到eclipse中, 如果是没有导入过就选第三个,导入过就选第一个。 然后OK。
git_path(NOTES_MERGE_WORKTREE)); o->has_worktree = 1; } else if (!file_exists(git_path(NOTES_MERGE_WORKTREE))) /* NOTES_MERGE_WORKTREE should already be established */ die("missing '%s'. This should not happen", git_path(NOTES_MERGE_WORKTREE)); ...
return EXISTS_IN_WORKTREE; } else if (!is_missing_file_error(errno)) { return error_errno("%s", new_name); } return 0; } static void prepare_symlink_changes(struct apply_state *state, struct patch *patch) { for ( ; patch; patch = patch->next) { if ((patch->old_name && S_...
git cola will now allow starting an interactive rebase with a dirty worktree when rebase.autostash is set. (#360)v2.1.1Usability, bells and whistlesA new "Find files" widget was added, and can be activated by using the Ctrl+t or t hotkeys. A new git cola find sub-command was ...
const char *path); int git_default_submodule_config(const char *var, const char *value, void *cb); struct option; int option_parse_recurse_submodules_worktree_updater(const struct option *opt, const char *arg, int unset); int is_tree_submodule_active(struct repository *repo, const struct...
ADVICE_WORKTREE_ADD_ORPHAN, }; intgit_default_advice_config(constchar*var,constchar*value); __attribute__((format(printf,1,2))) voidadvise(constchar*advice, ...); /** *Checks if advicetype is enabled (can beprinted to theuser). ...
*/ static int reuse_worktree_file(struct index_state *istate, const char *name, const struct object_id *oid, int want_file) { const struct cache_entry *ce; struct stat st; int pos, len; /* * We do not read the cache ourselves here, because the * benchmark with my previous ...
*/ return 0; } static int clear_skip_worktree_from_present_files_sparse(struct index_state *istate) { struct path_found_data data = PATH_FOUND_DATA_INIT; int path_count = 0; int to_restart = 0; trace2_region_enter("index", "clear_skip_worktree_from_present_files_sparse", istate-...
N_("Discard this hunk from worktree [y,n,q,a,d%s,?]? "), }, .edit_hunk_hint = N_("If the patch applies cleanly, the edited hunk " "will immediately be marked for discarding."), .help_patch_text = N_("y - discard this hunk from worktree\n" "n - do not discard...
dirty on racily-clean entries */ #define CE_MATCH_RACY_IS_DIRTY 02 /* do stat comparison even if CE_SKIP_WORKTREE is true */ #define CE_MATCH_IGNORE_SKIP_WORKTREE 04 /* ignore non-existent files during stat update */ #define CE_MATCH_IGNORE_MISSING 0x08 /* enable stat refresh */...