repository

How to delete my repository on Git using command line? [duplicate]

别来无恙 提交于 2020-02-19 09:13:31
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: How to fully delete a git repository created with init? I have a test repository on git and I want to delete it using command line. I found that git rm <file> deleted the files within the repository and not the repository itself. Any one can help here? 回答1: For local repo, run rm -r .git You may not delete a repo remotely to github via command line. 回答2: try rm -r .git from the root of the repository. 来源: https:

Set up private yum repo with basic auth

て烟熏妆下的殇ゞ 提交于 2020-02-18 22:20:09
问题 I have set my own private yum repo. This is an HTTP base repo with a Apache as a web server, so I would like to add some kind of authentication. Is this something I need to do with Apache or is there anything I can do with the createrepo library to specify a user-name and password? The final goal is to have several repos: Dev-Repo, QA-Repo, Staging-Repo, and Production-Repo I want developers to have access to only the dev-repo, have QA access only QA-Repo and so on... 回答1: To setup basic auth

Resource nexus-maven-repository-index.properties does not exist in IntelliJ

夙愿已清 提交于 2020-01-30 18:53:08
问题 While experimenting with Grails 3 under IntelliJ I found the following warning: Unindexed remote maven repositories found. Disable... The following repositories used in your gradle projects were not indexed yet: https://repo.grails.org/grails/core If you want to use dependency completion for these repositories artifacts, Open Repositories List, select required repositories and press "Update" button (show balloon) If I am trying to resolve an issue, I get next error: FileNotFoundException:

How do you get the Git repository's name in some Git repository?

一笑奈何 提交于 2020-01-30 13:41:10
问题 When you are working in some Git directory, how can you get the Git repository name in some Git repository? Are there any Git commands? # I did check out bar repository and working in somewhere # under bar directory at this moment such as below. $ git clone git://github.com/foo/bar.git $ cd bar/baz/qux/quux/corge/grault # and I am working in here! $ git xxx # <- ??? bar 回答1: Well, if, for the repository name you mean the Git root directory name (the one that contains the .git directory) you

How do you manage the licenses of the dependencies (libraries) of your project? [closed]

霸气de小男生 提交于 2020-01-29 11:33:08
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . I would like to know if the Nexus repository manager includes a License manager like Artifactory (with this plugin : http://wiki.jfrog.org/confluence/display/RTF/License+Control). If there is no way to do that in Nexus via a plugin, how do you manage the licenses of the dependencies of your project (with maven)

How to Return LiveData from Repository

廉价感情. 提交于 2020-01-28 11:34:12
问题 I just can't see how to chain LiveData from Repo to VM, so I have tried to boil this down to the most simple of example!: Fragment class LoginFragment : Fragment() { private lateinit var loginViewModel: LoginViewModel private var mCurrentName = "Blank!" override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View? { // Inflate the layout for this fragment val binding: LoginFragmentBinding = DataBindingUtil.inflate( inflater, R.layout.login

Dependency Injection and multiple projects in solution

拈花ヽ惹草 提交于 2020-01-24 23:27:19
问题 I have been following this article concerning the use of the repository pattern and UnitOfWork with entity framework. I am also planning to use Ninject as my IOC container for an upcoming project. Given the sample code from the article, the NorthwindContext class in the NorthwindData project implements the IUnitOfWork interface which live inside of the NorthwindModel project. How can I utilize dependency injection to eliminate the dependency on NorthwindModel to NorthwindData? The repository

Is there a way to use a repository as a “template” to start a new repository?

瘦欲@ 提交于 2020-01-24 11:22:39
问题 I have a Subversion repository that contains the externals and some files to start creating a new site, such as a basic login setup based on libraries. What I'm wondering is if there is a way to "copy" this repository into another that will keep the externals so I don't have to set them up again? I'm not worried about keeping the history. This would be similar to performing an export and then setting the externals, but would be a one step process. Is there a way? 回答1: The commands you need

How to move svn folder one level up

一笑奈何 提交于 2020-01-22 18:21:48
问题 I need to move svn folder to one level up and keep all history All files and directories from https://myserver.com/svn/Project/trunk/ into https://myserver/svn/Project/ I use a command: svn move https://myserver.com/svn/Project/trunk/ https://myserver/svn/Project/ but it says: svn: Cannot move path 'https://myserver.com/svn/Project/trunk/' into itself Who knows how can I resolve that problem? Thanks! 回答1: If you are willing to use TortoiseSVN then you can simply move the folder with the

Cannot access repositories on OS X Server 3.2.1 with Xcode 6.0.1

大城市里の小女人 提交于 2020-01-22 02:57:05
问题 EDIT: The problem is apparently solved with OSX Server Version 4. Original post: I have some git repositories on OS X server. Earlier I could access them from a remote Xcode without problems. After the upgrade to OS X Server 3.2.1 with Xcode 6.0.1 , I can no longer access them: If I try to add the server to a the Xcode via Preferences / Accounts, it says Xcode Server is unavailable If I try it via the terminal with the command git clone <repository path> it is asking for the password (i.e. it